#include "../include/Hash.h"
#include<string.h>
#include<stdio.h>
int main()
{
  char s[50],ch;
   int count=0,i;
  
 
    for(i=0;i<5;i++)
    {
    printf("\nenter key into hash table:");
    while((ch=getchar())!='\n')
     s[count++]=ch;
    s[count]='\0';
    add_to_hash_table(s,i);
    count=0;
    
    }

  printf("\nenter key");
  gets(s);
  if(search_from_hash_table(s)!=1)
  {
    printf("\n%s",s);
  }

  return 0;
}
